package com.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.common.utils.PageUtils;
import com.mall.entity.Brand;
import com.mall.entity.CategoryBrandRelation;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 * @date 2022-08-31 10:06:04
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelation> {
    void saveDetail(CategoryBrandRelation categoryBrandRelation);

    void updateBrand(Long brandId, String name);

    void updateCategory(Long catId, String name);

    List<Brand> getBrandsByCatId(Long catId);

    // void updateDetail(CategoryBrandRelation categoryBrandRelation);

//    PageUtils queryPage(Map<String, Object> params);
}

